﻿<phone:PhoneApplicationPage 
    x:Class="SLARToolKitWinPhoneSample.CalorieBurn_Cal"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="131*"/>
            <RowDefinition Height="29*"/>
        </Grid.RowDefinitions>
        <controls:Panorama Title="Calorie Burning Calculator" FontSize="1" VerticalAlignment="Center" Grid.RowSpan="2" Background="#F9FDD01E">

            <!--Panorama item one-->
            <controls:PanoramaItem >

                <Grid>
                    <!--<Grid.RowDefinitions>

                        <RowDefinition Height="200"/>
                        <RowDefinition Height="auto"/>
                        <RowDefinition Height="auto"/>

                    </Grid.RowDefinitions>-->
                    <TextBlock  Grid.Row="0" FontSize="25" Margin="0,-16,-18,0" Width="438" IsHitTestVisible="False" HorizontalAlignment="Center" Text="# Enter your weight.&#xA;# Enter the number of minutes for &#xA;   any of  the activities you have done &#xA;   (You may choose more than 1)&#xA;# Click on calculate button for your &#xA;   personal report" VerticalAlignment="Top" Height="209" FontFamily="Segoe WP Semibold"/>
                    <TextBox  Margin="131,198,112,0" x:Name="weight_box" Text="Weight in kg" GotFocus="weight_box_GotFocus" LostFocus="weight_box_LostFocus" AcceptsReturn="True" InputScope="Number" Background="{StaticResource PhoneBorderBrush}" Height="76" VerticalAlignment="Top" TextAlignment="Center" />
                    <RadioButton x:Name="rbM" GroupName="Sex" Checked="HandleCheck" IsChecked="true"  ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" FontSize="22" Margin="58,274,-58,170" BorderBrush="{x:Null}" BorderThickness="0,3,3,3">
                        <Image Height="auto" Source="/Images/m3.jpg" Width="auto"/>
                    </RadioButton>
                    <RadioButton x:Name="rbF" GroupName="Sex" Checked="HandleCheck" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" FontSize="22" Margin="58,424,-58,21">
                        <Image Height="auto" Source="/Images/f2.jpg" Width="auto"/>
                    </RadioButton>
                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item two-->
            <controls:PanoramaItem  Orientation="Horizontal" >

                <Grid Background="#FFE9A123" Width="432" Margin="0,0,0,26">
                    <Grid.RowDefinitions>

                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>

                        <ColumnDefinition Width="232"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                    <!--Row 0-->
                    <TextBlock x:Name="Sleeping" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Sleeping" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="0" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Sleeping_minute_box" Text="0"  GotFocus="Sleeping_minute_box_GotFocus" LostFocus="Sleeping_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Sleeping_calorie_box"  Grid.Row="0" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 1-->
                    <TextBlock x:Name="Sitting_quietly" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Sitting quietly" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="1" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Sitting_quietly_minute_box" Text="0"  GotFocus="Sitting_quietly_minute_box_GotFocus" LostFocus="Sitting_quietly_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Sitting_quietly_calorie_box"  Grid.Row="1" Grid.Column="2" Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 2-->
                    <TextBlock x:Name="Knitting_sewing" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Knitting / sewing" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="2" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Knitting_sewing_minute_box" Text="0"  GotFocus="Knitting_sewing_minute_box_GotFocus" LostFocus="Knitting_sewing_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Knitting_sewing_calorie_box"  Grid.Row="2" Grid.Column="2" Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 3-->
                    <TextBlock x:Name="Sitting_eating" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Sitting (eating)" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="3" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Sitting_eating_minute_box" Text="0"  GotFocus="Sitting_eating_minute_box_GotFocus" LostFocus="Sitting_eating_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Sitting_eating_calorie_box"  Grid.Row="3" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 4-->
                    <TextBlock x:Name="Standing_quietly" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Standing quietly" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="4" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Standing_quietly_minute_box" Text="0"  GotFocus="Standing_quietly_minute_box_GotFocus" LostFocus="Standing_quietly_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Standing_quietly_calorie_box"  Grid.Row="4" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 5-->
                    <TextBlock x:Name="Typing_electric" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Typing (electric)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="5" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Typing_electric_minute_box" Text="0"  GotFocus="Typing_electric_minute_box_GotFocus" LostFocus="Typing_electric_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Typing_electric_calorie_box"  Grid.Row="5" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 6-->
                    <TextBlock x:Name="Sitting_writing" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Sitting (writing)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="6" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Sitting_writing_minute_box" Text="0"  GotFocus="Sitting_writing_minute_box_GotFocus" LostFocus="Sitting_writing_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Sitting_writing_calorie_box"  Grid.Row="6" Grid.Column="2" Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>

                </Grid>

            </controls:PanoramaItem>

            <!--Panorama item 3-->
            <controls:PanoramaItem>
                <Grid Background="#FFE9A123" Width="432" Grid.Column="2" Margin="0,0,0,31">
                    <Grid.RowDefinitions>

                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>

                        <ColumnDefinition Width="232"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                    <!--Row 0-->
                    <TextBlock x:Name="Ironing" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Ironing" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="0" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Ironing_minute_box" Text="0"  GotFocus="Ironing_minute_box_GotFocus" LostFocus="Ironing_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Ironing_calorie_box"  Grid.Row="0" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 1-->
                    <TextBlock x:Name="Cooking" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Cooking" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="1" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Cooking_minute_box" Text="0"  GotFocus="Cooking_minute_box_GotFocus" LostFocus="Cooking_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Cooking_calorie_box"  Grid.Row="1" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 2-->
                    <TextBlock x:Name="Volleyball" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Volleyball" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="2" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Volleyball_minute_box" Text="0"  GotFocus="Volleyball_minute_box_GotFocus" LostFocus="Volleyball_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Volleyball_calorie_box"  Grid.Row="2" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 3-->
                    <TextBlock x:Name="Walking_slowly" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Walking slowly (4km/hr)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="3" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Walking_slowly_minute_box" Text="0"  GotFocus="Walking_slowly_minute_box_GotFocus" LostFocus="Walking_slowly_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Walking_slowly_calorie_box"  Grid.Row="3" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 4-->
                    <TextBlock x:Name="Light_housework" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Light housework" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="4" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Light_housework_minute_box" Text="0"  GotFocus="Light_housework_minute_box_GotFocus" LostFocus="Light_housework_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Light_housework_calorie_box"  Grid.Row="4" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 5-->
                    <TextBlock x:Name="Food_shopping" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Food shopping" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="5" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Food_shopping_minute_box" Text="0"  GotFocus="Food_shopping_minute_box_GotFocus" LostFocus="Food_shopping_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Food_shopping_calorie_box"  Grid.Row="5" Grid.Column="2" Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 6-->
                    <TextBlock x:Name="Mopping_floor" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Mopping floor" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="6" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Mopping_floor_minute_box" Text="0"  GotFocus="Mopping_floor_minute_box_GotFocus" LostFocus="Mopping_floor_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Mopping_floor_calorie_box"  Grid.Row="6" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>


                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item 4-->
            <controls:PanoramaItem>
                <Grid Background="#FFE9A123" Width="432" Grid.Column="4" Margin="0,0,0,31">
                    <Grid.RowDefinitions>

                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>

                        <ColumnDefinition Width="232"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                    <!--Row 0-->
                    <TextBlock x:Name="Cycling_leisure" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Cycling (leisure)" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="0" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Cycling_leisure_minute_box" Text="0"  GotFocus="Cycling_leisure_minute_box_GotFocus" LostFocus="Cycling_leisure_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Cycling_leisure_calorie_box"  Grid.Row="0" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold"  TextAlignment="Center"/>
                    <!--Row 1-->
                    <TextBlock x:Name="Table_tennis" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Table tennis" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="1" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Table_tennis_minute_box" Text="0"  GotFocus="Table_tennis_minute_box_GotFocus" LostFocus="Table_tennis_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Table_tennis_calorie_box"  Grid.Row="1" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold"  TextAlignment="Center"/>
                    <!--Row 2-->
                    <TextBlock x:Name="Walking_briskly" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Walking briskly (6km/hr)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="2" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Walking_briskly_minute_box" Text="0"  GotFocus="Walking_briskly_minute_box_GotFocus" LostFocus="Walking_briskly_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Walking_briskly_calorie_box"  Grid.Row="2" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold"  TextAlignment="Center"/>
                    <!--Row 3-->
                    <TextBlock x:Name="Golf" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Golf" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="3" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Golf_minute_box" Text="0"  GotFocus="Golf_minute_box_GotFocus" LostFocus="Golf_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Golf_calorie_box"  Grid.Row="3" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold"  TextAlignment="Center"/>
                    <!--Row 4-->
                    <TextBlock x:Name="Badminton" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Badminton" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="4" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Badminton_minute_box" Text="0"  GotFocus="Badminton_minute_box_GotFocus" LostFocus="Badminton_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Badminton_calorie_box"  Grid.Row="4" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 5-->
                    <TextBlock x:Name="Dancing_medium" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Dancing (aerobic, medium intensity)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="5" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Dancing_medium_minute_box" Text="0"  GotFocus="Dancing_medium_minute_box_GotFocus" LostFocus="Dancing_medium_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Dancing_medium_calorie_box"  Grid.Row="5" Grid.Column="2" Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 6-->
                    <TextBlock x:Name="Tennis" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Tennis" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="6" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Tennis_minute_box" Text="0"  GotFocus="Tennis_minute_box_GotFocus" LostFocus="Tennis_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Tennis_calorie_box"  Grid.Row="6" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>

                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item 5-->
            <controls:PanoramaItem>
                <Grid Background="#FFE9A123" Width="432" Grid.Column="6" Margin="0,0,0,21">
                    <Grid.RowDefinitions>

                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                        <RowDefinition Height="80"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>

                        <ColumnDefinition Width="232"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                    <!--Row 0-->
                    <TextBlock x:Name="Jogging_slow" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Jogging (slow) (7 km/hr)" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="0" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Jogging_slow_minute_box" Text="0"  GotFocus="Jogging_slow_minute_box_GotFocus" LostFocus="Jogging_slow_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Jogging_slow_calorie_box"  Grid.Row="0" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 1-->
                    <TextBlock x:Name="Gardening" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Gardening (digging)" VerticalAlignment="Center" Width="219" Margin="13,12,0,1"  Grid.Row="1" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Gardening_minute_box" Text="0"  GotFocus="Gardening_minute_box_GotFocus" LostFocus="Gardening_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Gardening_calorie_box"  Grid.Row="1" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 2-->
                    <TextBlock x:Name="Swimming_crawl_slow" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Swimming (crawl, slow)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="2" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Swimming_crawl_slow_minute_box" Text="0"  GotFocus="Swimming_crawl_minute_box_GotFocus" LostFocus="Swimming_crawl_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Swimming_crawl_slow_calorie_box"  Grid.Row="2" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 3-->
                    <TextBlock x:Name="Football" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Football" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="3" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Football_minute_box" Text="0"  GotFocus="Football_minute_box_GotFocus" LostFocus="Football_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Football_calorie_box"  Grid.Row="3" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 4-->
                    <TextBlock x:Name="Dancing_intense" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" VerticalAlignment="Center" Width="209" Margin="13,75,0,65"  Grid.Row="3" Grid.Column="0" FontSize="25" Grid.RowSpan="3">
                    	<Run FontFamily="Segoe WP Semibold" Text="Dancing "/>
                    	<Run Text="(aerobic, intense)"/>
                    </TextBlock>
                    <TextBox x:Name="Dancing_intense_minute_box" Text="0"  GotFocus="Dancing_intense_minute_box_GotFocus" LostFocus="Dancing_intense_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Dancing_intense_calorie_box"  Grid.Row="4" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 5-->
                    <TextBlock x:Name="Basketball" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="5" Grid.Column="0" FontSize="25">
                    	<Run FontFamily="Segoe WP Semibold" Text="Basketball"/>
                    </TextBlock>
                    <TextBox x:Name="Basketball_minute_box" Text="0"  GotFocus="Basketball_minute_box_GotFocus" LostFocus="Basketball_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Basketball_calorie_box"  Grid.Row="5" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 6-->
                    <TextBlock x:Name="Running_slow" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="6" Grid.Column="0" FontSize="25">
                    	<Run Text="Running (slow)"/>
                    	<LineBreak/>
                    	<Run Text="(8 "/>
                    	<Run FontFamily="Segoe WP Semibold" Text="km"/>
                    	<Run Text="/hr)"/>
                    </TextBlock>
                    <TextBox x:Name="Running_slow_minute_box" Text="0"  GotFocus="Running_slow_minute_box_GotFocus" LostFocus="Running_slow_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="6" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Running_slow_calorie_box"  Grid.Row="6" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>

                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item 6-->
            <controls:PanoramaItem>
                <Grid Background="#FFE9A123" Width="432" Grid.Column="8" Margin="0,0,0,76">
                    <Grid.RowDefinitions>

                        <RowDefinition Height="85"/>
                        <RowDefinition Height="85"/>
                        <RowDefinition Height="85"/>
                        <RowDefinition Height="85"/>
                        <RowDefinition Height="85"/>
                        <RowDefinition Height="85"/>

                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>

                        <ColumnDefinition Width="232"/>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition Width="100"/>
                    </Grid.ColumnDefinitions>
                    <!--Row 0-->
                    <TextBlock x:Name="Swimming_crawl_fast" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Swimming (crawl, fast)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="0" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Swimming_crawl_fast_minute_box" Text="0"  GotFocus="Swimming_crawl_fast_minute_box_GotFocus" LostFocus="Swimming_crawl_fast_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="0" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Swimming_crawl_fast_calorie_box"  Grid.Row="0" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 1-->
                    <TextBlock x:Name="Swimming_breaststroke" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Swimming (breaststroke)" VerticalAlignment="Center" Width="177" Margin="13,10,0,0"  Grid.Row="1" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Swimming_breaststroke_minute_box" Text="0"  GotFocus="Swimming_breaststroke_minute_box_GotFocus" LostFocus="Swimming_breaststroke_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="1" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Swimming_breaststroke_calorie_box"  Grid.Row="1" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 2-->
                    <TextBlock x:Name="Swimming_backstroke" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Swimming (backstroke)" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="2" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Swimming_backstroke_minute_box" Text="0"  GotFocus="Swimming_backstroke_minute_box_GotFocus" LostFocus="Swimming_backstroke_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Swimming_backstroke_calorie_box"  Grid.Row="2" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 3-->
                    <TextBlock x:Name="Running_medium" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Running (medium) (10 km/hr)" VerticalAlignment="Center" Width="224" Margin="13,83,0,72"  Grid.Row="2" Grid.Column="0" FontSize="25" Grid.RowSpan="3" FontFamily="Segoe WP Semibold" Grid.ColumnSpan="2"/>
                    <TextBox x:Name="Running_medium_minute_box" Text="0"  GotFocus="Running_medium_minute_box_GotFocus" LostFocus="Running_medium_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="3" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Running_medium_calorie_box"  Grid.Row="3" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 4-->
                    <TextBlock x:Name="Running_fast" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="4" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold">
                    	<Run Text="Running (fast) "/>
                    	<LineBreak/>
                    	<Run Text="(12 km/hr)"/>
                    </TextBlock>
                    <TextBox x:Name="Running_fast_minute_box" Text="0"  GotFocus="Running_fast_minute_box_GotFocus" LostFocus="Running_fast_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Running_fast_calorie_box"  Grid.Row="4" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>
                    <!--Row 5-->
                    <TextBlock x:Name="Squash" HorizontalAlignment="Left" Height="auto" TextWrapping="Wrap" Text="Squash" VerticalAlignment="Center" Width="209" Margin="13,12,0,1"  Grid.Row="5" Grid.Column="0" FontSize="25" FontFamily="Segoe WP Semibold"/>
                    <TextBox x:Name="Squash_minute_box" Text="0"  GotFocus="Squash_minute_box_GotFocus" LostFocus="Squash_minute_box_LostFocus" InputScope="Number" AcceptsReturn="True" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Center" Width="90" TextAlignment="Center"/>
                    <TextBlock x:Name="Squash_calorie_box"  Grid.Row="5" Grid.Column="2"  Foreground="#FF04AEFD" Width="90" HorizontalAlignment="Center" Margin="5,0" FontSize="25" VerticalAlignment="Center" FontWeight="Bold" TextAlignment="Center"/>


                </Grid>
            </controls:PanoramaItem>

            <!--Panorama item 7-->
            <controls:PanoramaItem>
                <StackPanel>
                    <Grid Height="514">
                        <Grid.Background>
                            <ImageBrush Stretch="Fill" ImageSource="/Images/calo4.png"/>
                        </Grid.Background>
                        <Grid.RowDefinitions>

                            <RowDefinition Height="80"/>
                            <RowDefinition Height="100"/>
                            <RowDefinition Height="80"/>
                            <RowDefinition Height="100"/>
                            <RowDefinition Height="80"/>
                            <RowDefinition Height="80"/>

                        </Grid.RowDefinitions>

                        <TextBlock Text="Total minutes" FontSize="33" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Segoe WP Semibold" Margin="0,38,0,0"/>
                        <TextBlock Text="Total calories burned" FontSize="33" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Row="2" FontFamily="Segoe WP Semibold" Margin="0,29,0,0"/>
                        <TextBlock x:Name="total_minutes"  VerticalAlignment="Center" FontSize="90" HorizontalAlignment="Center" TextAlignment="Center" Width="auto" Grid.Row="1" FontFamily="Segoe WP Black" Foreground="#FFF4751D"/>
                        <TextBlock x:Name="total_calories" FontSize="90" TextAlignment="Center" Width="auto" Grid.Row="2" FontFamily="Segoe WP Black" Foreground="#FFF4751D"  Grid.RowSpan="3" VerticalAlignment="Center" HorizontalAlignment="Center"/>
                        <TextBlock Text=" kcal" FontSize="26" Margin="183,90,-183,10" Grid.Row="3" Grid.RowSpan="2"></TextBlock>
                        <Button Content="Calculate" Height="80" x:Name="calculate_button" Click="calculate_button_Click" Grid.Row="4" Margin="110,39,118,41" Grid.RowSpan="2" Background="#FFF99F1F" BorderThickness="10,5" Canvas.ZIndex="-2" FontSize="30" VerticalAlignment="Center" Width="192" BorderBrush="#FFF9F4EF" HorizontalAlignment="Center" />
                    </Grid>
                </StackPanel>
            </controls:PanoramaItem>

        </controls:Panorama>
    </Grid>

</phone:PhoneApplicationPage>